<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BabyOS: b_hal.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="baby_boy_93.528712871287px_1234786_easyicon.net.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BabyOS
   &#160;<span id="projectnumber">V0.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b9223522bb56aee4ab59f7ba381d2163.html">bos</a></li><li class="navelem"><a class="el" href="dir_f8a0fa7de2fa8ec1cbca46d8cda2da54.html">hal</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">b_hal.c</div>  </div>
</div><!--header-->
<div class="contents">
<a href="b__hal_8c.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">/*Includes ----------------------------------------------*/</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="b__hal_8h.html">b_hal.h</a>&quot;</span>   </div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="keyword">extern</span> UART_HandleTypeDef <a class="code" href="group___h_a_l___private___variables.html#ga2cf715bef37f7e8ef385a30974a5f0d5">huart1</a>;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group___h_a_l___private___variables.html#ga6c05368ce95479087a767000d0825b24">   77</a></span>&#160;<span class="preprocessor">#define DEBUG_UART_HANDL    huart1</span></div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group___h_a_l___private___variables.html#gaadb0ad79eab01ba522b7d081c138760b">   78</a></span>&#160;<span class="preprocessor">#define STM32F1_UID_ADDR            0x1FFFF7E8UL</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#gaf709c07e26adbffa5d9984b2cec63c69">  107</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group___h_a_l___exported___functions.html#gaf709c07e26adbffa5d9984b2cec63c69">fputc</a>(<span class="keywordtype">int</span> c, FILE *p)</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;{</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    uint8_t ch = (uint8_t)(c &amp; 0xff);</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    HAL_UART_Transmit(&amp;<a class="code" href="group___h_a_l___private___variables.html#ga6c05368ce95479087a767000d0825b24">DEBUG_UART_HANDL</a>, &amp;ch, 1, 0xff);</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    <span class="keywordflow">return</span> c;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;}</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#gac4b3d313f1c9c001234743725e491b9a">  115</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___h_a_l___exported___functions.html#gac4b3d313f1c9c001234743725e491b9a">bHalEnterCritical</a>()</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}    </div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#ga9b005cf96b043e836780e1cc1b9254fc">  120</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___h_a_l___exported___functions.html#ga9b005cf96b043e836780e1cc1b9254fc">bHalExitCritical</a>()</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;{</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;}</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#ga12c2eefdfcc84de397bba9c9f95882a5">  127</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___h_a_l___exported___functions.html#ga12c2eefdfcc84de397bba9c9f95882a5">bHalDelayMS</a>(uint16_t xms)</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;{</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    HAL_Delay(xms);</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;}</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#ga252916ffe00f5745ac44905b50a3f412">  132</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___h_a_l___exported___functions.html#ga252916ffe00f5745ac44905b50a3f412">bHalDelayUS</a>(uint16_t xus)</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;{</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;    <span class="keywordflow">while</span>(xus--)</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    {</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        __nop();</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;    }</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;}</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#gac8e750b2b439b1cc756a4076503738e4">  140</a></span>&#160;uint32_t <a class="code" href="group___h_a_l___exported___functions.html#gac8e750b2b439b1cc756a4076503738e4">bHalGetTick</a>()</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;{</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;    <span class="keywordflow">return</span> HAL_GetTick();</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;}</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#ga6bb2b0cf5092883eb8c51f9b8d4a5c78">  145</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___h_a_l___exported___functions.html#ga6bb2b0cf5092883eb8c51f9b8d4a5c78">bHalChipProtect</a>()</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;{</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    FLASH_OBProgramInitTypeDef OBInit;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;    __HAL_FLASH_PREFETCH_BUFFER_DISABLE();</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    HAL_FLASHEx_OBGetConfig(&amp;OBInit);</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    <span class="keywordflow">if</span>(OBInit.RDPLevel == OB_RDP_LEVEL_0)</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    {</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        OBInit.OptionType = OPTIONBYTE_RDP;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        OBInit.RDPLevel = OB_RDP_LEVEL_1;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;            </div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        HAL_FLASH_Unlock();</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        HAL_FLASH_OB_Unlock();</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        HAL_FLASHEx_OBProgram(&amp;OBInit);</div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;        HAL_FLASH_OB_Lock();</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        HAL_FLASH_Lock();</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    }</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    __HAL_FLASH_PREFETCH_BUFFER_ENABLE();</div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;}</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#ga6f935a31e0b1cdb5905b565a5d3bb72f">  164</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___h_a_l___exported___functions.html#ga6f935a31e0b1cdb5905b565a5d3bb72f">bHalFeedWTD</a>()</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;{</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="comment">//HAL_IWDG_Refresh(&amp;hiwdg);</span></div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;}</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#gab4fede695cd2bf0ead21a2cc4ac02aaa">  170</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="group___h_a_l___exported___functions.html#gab4fede695cd2bf0ead21a2cc4ac02aaa">bHalGetSTM32MCUID</a>(uint32_t <span class="keywordtype">id</span>[3])</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;{</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    <span class="keywordtype">id</span>[0] = *(<span class="keyword">volatile</span> uint32_t*)(<a class="code" href="group___h_a_l___private___variables.html#gaadb0ad79eab01ba522b7d081c138760b">STM32F1_UID_ADDR</a>);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordtype">id</span>[1] = *(<span class="keyword">volatile</span> uint32_t*)(<a class="code" href="group___h_a_l___private___variables.html#gaadb0ad79eab01ba522b7d081c138760b">STM32F1_UID_ADDR</a> + 4);</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    <span class="keywordtype">id</span>[2] = *(<span class="keyword">volatile</span> uint32_t*)(<a class="code" href="group___h_a_l___private___variables.html#gaadb0ad79eab01ba522b7d081c138760b">STM32F1_UID_ADDR</a> + 8);</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;}</div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#ga19179b3668da8153a34f5c57a43cef0b">  179</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group___h_a_l___exported___functions.html#ga19179b3668da8153a34f5c57a43cef0b">bHalFlashWrite</a>(uint32_t address, uint8_t *pbuf, uint16_t len)</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;{</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    uint16_t i = 0;</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    uint16_t *pdata = (uint16_t *)pbuf;</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="keywordflow">if</span>(pbuf == <a class="code" href="b__config_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>)</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    {</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        <span class="keywordflow">return</span> -1;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    }</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    HAL_FLASH_Unlock();</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <span class="keywordflow">for</span>(i = 0;i &lt; len / 2;i++)</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    {</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;            HAL_FLASH_Program(FLASH_TYPEPROGRAM_HALFWORD, address, pdata[i]);</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;            address += 2;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    }    </div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    HAL_FLASH_Lock();</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;}</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="group___h_a_l___exported___functions.html#ga9bbf639675e6f6028a969874d60acac3">  197</a></span>&#160;<span class="keywordtype">int</span> <a class="code" href="group___h_a_l___exported___functions.html#ga9bbf639675e6f6028a969874d60acac3">bHalErasePage</a>(uint32_t addr)</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;{</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    FLASH_EraseInitTypeDef EraseInit;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    uint32_t errcode;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    EraseInit.NbPages = 1;</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    EraseInit.PageAddress = addr;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    EraseInit.TypeErase = FLASH_TYPEERASE_PAGES;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    HAL_FLASH_Unlock();</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    HAL_FLASHEx_Erase(&amp;EraseInit, &amp;errcode);</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    HAL_FLASH_Lock();</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class="keywordflow">return</span> 0;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;}</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="comment">/************************ Copyright (c) 2019 Bean *****END OF FILE****/</span></div><div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;</div><div class="ttc" id="group___h_a_l___private___variables_html_gaadb0ad79eab01ba522b7d081c138760b"><div class="ttname"><a href="group___h_a_l___private___variables.html#gaadb0ad79eab01ba522b7d081c138760b">STM32F1_UID_ADDR</a></div><div class="ttdeci">#define STM32F1_UID_ADDR</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00078">b_hal.c:78</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_gac8e750b2b439b1cc756a4076503738e4"><div class="ttname"><a href="group___h_a_l___exported___functions.html#gac8e750b2b439b1cc756a4076503738e4">bHalGetTick</a></div><div class="ttdeci">uint32_t bHalGetTick()</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00140">b_hal.c:140</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_ga9b005cf96b043e836780e1cc1b9254fc"><div class="ttname"><a href="group___h_a_l___exported___functions.html#ga9b005cf96b043e836780e1cc1b9254fc">bHalExitCritical</a></div><div class="ttdeci">void bHalExitCritical()</div><div class="ttdoc">&lt;&lt; delay </div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00120">b_hal.c:120</a></div></div>
<div class="ttc" id="b__hal_8h_html"><div class="ttname"><a href="b__hal_8h.html">b_hal.h</a></div></div>
<div class="ttc" id="b__config_8h_html_a070d2ce7b6bb7e5c05602aa8c308d0c4"><div class="ttname"><a href="b__config_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></div><div class="ttdeci">#define NULL</div><div class="ttdef"><b>Definition:</b> <a href="b__config_8h_source.html#l00042">b_config.h:42</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_ga6bb2b0cf5092883eb8c51f9b8d4a5c78"><div class="ttname"><a href="group___h_a_l___exported___functions.html#ga6bb2b0cf5092883eb8c51f9b8d4a5c78">bHalChipProtect</a></div><div class="ttdeci">void bHalChipProtect()</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00145">b_hal.c:145</a></div></div>
<div class="ttc" id="group___h_a_l___private___variables_html_ga6c05368ce95479087a767000d0825b24"><div class="ttname"><a href="group___h_a_l___private___variables.html#ga6c05368ce95479087a767000d0825b24">DEBUG_UART_HANDL</a></div><div class="ttdeci">#define DEBUG_UART_HANDL</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00077">b_hal.c:77</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_ga252916ffe00f5745ac44905b50a3f412"><div class="ttname"><a href="group___h_a_l___exported___functions.html#ga252916ffe00f5745ac44905b50a3f412">bHalDelayUS</a></div><div class="ttdeci">void bHalDelayUS(uint16_t xus)</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00132">b_hal.c:132</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_ga6f935a31e0b1cdb5905b565a5d3bb72f"><div class="ttname"><a href="group___h_a_l___exported___functions.html#ga6f935a31e0b1cdb5905b565a5d3bb72f">bHalFeedWTD</a></div><div class="ttdeci">void bHalFeedWTD()</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00164">b_hal.c:164</a></div></div>
<div class="ttc" id="group___h_a_l___private___variables_html_ga2cf715bef37f7e8ef385a30974a5f0d5"><div class="ttname"><a href="group___h_a_l___private___variables.html#ga2cf715bef37f7e8ef385a30974a5f0d5">huart1</a></div><div class="ttdeci">UART_HandleTypeDef huart1</div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_ga12c2eefdfcc84de397bba9c9f95882a5"><div class="ttname"><a href="group___h_a_l___exported___functions.html#ga12c2eefdfcc84de397bba9c9f95882a5">bHalDelayMS</a></div><div class="ttdeci">void bHalDelayMS(uint16_t xms)</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00127">b_hal.c:127</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_ga9bbf639675e6f6028a969874d60acac3"><div class="ttname"><a href="group___h_a_l___exported___functions.html#ga9bbf639675e6f6028a969874d60acac3">bHalErasePage</a></div><div class="ttdeci">int bHalErasePage(uint32_t addr)</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00197">b_hal.c:197</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_ga19179b3668da8153a34f5c57a43cef0b"><div class="ttname"><a href="group___h_a_l___exported___functions.html#ga19179b3668da8153a34f5c57a43cef0b">bHalFlashWrite</a></div><div class="ttdeci">int bHalFlashWrite(uint32_t address, uint8_t *pbuf, uint16_t len)</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00179">b_hal.c:179</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_gaf709c07e26adbffa5d9984b2cec63c69"><div class="ttname"><a href="group___h_a_l___exported___functions.html#gaf709c07e26adbffa5d9984b2cec63c69">fputc</a></div><div class="ttdeci">int fputc(int c, FILE *p)</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00107">b_hal.c:107</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_gab4fede695cd2bf0ead21a2cc4ac02aaa"><div class="ttname"><a href="group___h_a_l___exported___functions.html#gab4fede695cd2bf0ead21a2cc4ac02aaa">bHalGetSTM32MCUID</a></div><div class="ttdeci">void bHalGetSTM32MCUID(uint32_t id[3])</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00170">b_hal.c:170</a></div></div>
<div class="ttc" id="group___h_a_l___exported___functions_html_gac4b3d313f1c9c001234743725e491b9a"><div class="ttname"><a href="group___h_a_l___exported___functions.html#gac4b3d313f1c9c001234743725e491b9a">bHalEnterCritical</a></div><div class="ttdeci">void bHalEnterCritical()</div><div class="ttdef"><b>Definition:</b> <a href="b__hal_8c_source.html#l00115">b_hal.c:115</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
